package com.example.myxmpp.utils;

import opensource.jpinyin.PinyinFormat;
import opensource.jpinyin.PinyinHelper;

/**
 *
 */
public class PinyinUtil {

    public static String getPinyin(String str){
        return  PinyinHelper.convertToPinyinString(str,"", PinyinFormat.WITHOUT_TONE);

    }
}
